runtime.hchan.qcount (field)
16 uses
runtime (current package)
chan.go#L35: qcount uint // total data in the queue
chan.go#L154: return c.qcount == c.dataqsiz
chan.go#L236: if c.qcount < c.dataqsiz {
chan.go#L247: c.qcount++
chan.go#L364: if atomic.Loaduint(&c.qcount) == 0 {
chan.go#L369: for c.qcount > 0 {
chan.go#L376: c.qcount--
chan.go#L502: return atomic.Loaduint(&c.qcount) == 0
chan.go#L589: if c.qcount == 0 {
chan.go#L612: if c.qcount > 0 {
chan.go#L626: c.qcount--
chan.go#L832: return int(c.qcount)
select.go#L280: if c.qcount > 0 {
select.go#L297: if c.qcount < c.dataqsiz {
select.go#L470: c.qcount--
select.go#L491: c.qcount++
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |